<?php
set_time_limit(120);

require_once __DIR__.'/../app/bootstrap.php.cache';


use Assetic\Asset\AssetCollection;
use Assetic\Asset\FileAsset;
use Assetic\Filter\Sass\ScssFilter;

$core = new AssetCollection(array(
	new FileAsset(__DIR__.'/test.scss'),

), array(
	new ScssFilter()
));

/*
$mtime = gmdate('D, d M y H:i:s',
$core->getLastModified()).' GMT';
if ($mtime == $_SERVER['HTTP_IF_MODIFIED_SINCE']) {
header('HTTP/1.0 304 Not Modified');
exit();
}
header('Content-Type: text/javascript');
*/

$core->load();
//header('Content-Type: text/css');
echo $core->dump();